package com.qf.blog.vo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.qf.blog.entity.DiscussPost;
import com.qf.blog.entity.User;
import lombok.Data;

@TableName("discuss_post")
@Data
public class PostVo extends DiscussPost {
    @TableField(exist = false)
    private User user;
    @TableField (exist = false)
    private long likeCount;
    @TableField (exist = false)
    private boolean likeStatus;
}
